package com.hmall.mapper;

import com.hmall.model.MallOrderFufillment;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface MallOrderFufillmentMapper extends MyMapper<MallOrderFufillment> {

    List<MallOrderFufillment> selectByIdList(@Param("mallOrderFufillmentIdList") List<Integer> mallOrderFufillmentIdList);

    List<MallOrderFufillment> selectByFufillmentNo(@Param("fufillmentNo") String fufillmentNo);

    List<Integer> selectIdList(@Param("customerId") Integer customerId, @Param("startTime") Date voucherStartTime, @Param("endTime") Date voucherEndTime);

}